package com.lyq.gift.client;

import com.lyq.gift.domain.LoginUser;
import com.lyq.gift.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
@FeignClient(value = "gift-auth",fallbackFactory = AuthClientFallbackFactory.class)
public interface AuthClient {
     @PutMapping("/loginUser")
     AjaxResult addOrUpdate(@RequestBody LoginUser loginUser);
}
